﻿using System.Collections.Generic;
using DoodleLabyrinthLogic.Base;

namespace DoodleLabyrinthLogic.Item

{
    public abstract class BaseItem
    {
        private readonly bool _isEquipable;
        public bool IsEquipable
        {
            get
            {
                return _isEquipable;
            }
        }

        private readonly bool _isConsumable;
        public bool IsConsumable
        {
            get
            {
                return _isConsumable;
            }
        }
        
        private readonly List<ObjectModifier> _objectModifiers;
        public List<ObjectModifier> ObjectModifiers
        {
            get
            {
                return _objectModifiers;
            }
        }

        protected BaseItem(List<ObjectModifier> objectModifiers, 
            bool isEquipable, 
            bool isConsumable)
        {
            _isEquipable = isEquipable;
            _objectModifiers = objectModifiers;
            _isConsumable = isConsumable;
        }
    }
}
